<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <title>文档</title>
  <link href="./css/semantic/semantic.min.css" rel="stylesheet">
  <link href="./css/markdown.css" rel="stylesheet">
  <style>
    body{padding-top:0;background:#f7f7f7}
    body>.ui.container{width:100%;padding:0}
    #project-title{background:#6e6e6e;width:100%;line-height:3.572rem;color:#fff;font-size:1.2rem}
    #project-title .title-wrap{font-weight:700;padding:0 12px;width:100%;max-width:1366px!important;min-width:900px;margin:0 auto}
    #project-title .left,#project-title right{display:inline-block}
    #project-title .right{float:right}
    #project-title .right .wiki-actions .menu{left:auto;right:0;margin-top:.4em!important}
    #wiki-preview-container{width:100%;max-width:1366px!important;min-width:900px;padding:0;border:1px solid #e3e9ed;border-top:0}
    #wiki-preview>.ui.segment{margin-top:0;padding:1rem;padding-left:0;border:0}
    .hover-places{display:inline-block}
    #page-detail{width:60%;margin:0 auto}
    #page-detail .title{font-weight:700;font-size:24px;padding:12px 0;border-bottom:1px solid #ccc}
    #page-detail .content{margin-top:15px}
    .content p{word-wrap:break-word}
    #wiki-parent,#wiki-title,#wikis{display:none}
    .ui.grid{padding:0!important}
    #ex-all{cursor:pointer;color:#537c8d}
  </style>
</head>
<body>
  <div class="ui container">
    <div id="project-title">
      <div class="title-wrap">
        <div class="left">
          <i class="icon eye"></i>
          文档预览:
          极_晓/gdzl_hadoop
        </div>
        <div class="right">
          Export by Gitee
        </div>
      </div>
    </div>

    <div class="ui container" id="wiki-preview-container">
      <div id="wiki-preview">
        <div class="ui segment">
          <div id="page-detail" class="markdown-body">
            <div class='title'>Home</div><div class='content'><p>Welcome to the Gitee wiki!</p>
</div><div class='title'>后台_FPG数据接口</div><div class='content'><p>1.获取FPG因素1</p>

<p><a target="_blank" href="http://localhost:8051/data/getYS1.do">http://localhost:8051/data/getYS1.do</a></p>

<blockquote>
<p>request</p>
</blockquote>
<div class="white"><div class="highlight"><pre>
</pre></div></div>
<blockquote>
<p>response</p>
</blockquote>

<p>success</p>
<div class="white"><div class="highlight"><pre>{
"status": 0,
"data":[
"TRSJD"
]
}
</pre></div></div>
<p>fail</p>
<div class="white"><div class="highlight"><pre>{
    "status": 1,
    "msg": "获取因素失败"
}
</pre></div></div>
<p>2.获取FPG因素2</p>

<p><a target="_blank" href="http://localhost:8051/data/getYS2.do">http://localhost:8051/data/getYS2.do</a></p>

<blockquote>
<p>request</p>
<div class="white"><div class="highlight"><pre>YS1
</pre></div></div>
<p>response</p>
</blockquote>

<p>success</p>
<div class="white"><div class="highlight"><pre>{
"status": 0,
"data":[
"DXPD",
"DBYSLTD",
"YZHCD",
"TMPD",
"YXTCHD",
"ZACJDBSD",
"BCTRZD",
"GGBZL"
]
}

</pre></div></div>
<p>fail</p>
<div class="white"><div class="highlight"><pre>{
    "status": 1,
    "msg": "获取因素失败"
}
</pre></div></div>
<p>3.监测FPG算法是否完成</p>

<p><a target="_blank" href="http://localhost:8051/data/checkFPG.do">http://localhost:8051/data/checkFPG.do</a></p>

<blockquote>
<p>request</p>
</blockquote>
<div class="white"><div class="highlight"><pre>path 

</pre></div></div>
<blockquote>
<p>response</p>
</blockquote>

<p>success</p>
<div class="white"><div class="highlight"><pre>{
"status": 0,
"data":20
</pre></div></div>
<p>fail</p>
<div class="white"><div class="highlight"><pre>{
    "status": 1,
    "msg": "no"
}
</pre></div></div>
<p>4.获取FPG因素关联表</p>

<p><a target="_blank" href="http://localhost:8051/data/getYsglTable.do">http://localhost:8051/data/getYsglTable.do</a></p>

<blockquote>
<p>request</p>
</blockquote>
<div class="white"><div class="highlight"><pre>YS1 
YS2 
</pre></div></div>
<blockquote>
<p>response</p>
</blockquote>

<p>success</p>
<div class="white"><div class="highlight"><pre>{
"status": 0,
"data":[
[null, "G1", "G2"],
["5.45", "265", "26"],
["5", "22", "60"]
]
}
</pre></div></div>
<p>fail</p>
<div class="white"><div class="highlight"><pre>{
    "status": 1,
    "msg": "获取表格失败"
}
</pre></div></div></div><div class='title'>后台_算法执行接口</div><div class='content'><p>1.执行FPG算法</p>

<p><a target="_blank" href="http://localhost:8051/algorithm/FPG.do">http://localhost:8051/algorithm/FPG.do</a></p>

<blockquote>
<p>request</p>
</blockquote>
<div class="white"><div class="highlight"><pre>
</pre></div></div>
<blockquote>
<p>response</p>
</blockquote>

<p>success</p>
<div class="white"><div class="highlight"><pre>{
"status": 0,
"data":"./cp_data.txt"
}
</pre></div></div>
<p>fail</p>
<div class="white"><div class="highlight"><pre>{
    "status": 1,
    "msg": "执行出错"
}
</pre></div></div>
<p>2、执行HLXFX算法</p>

<p><a target="_blank" href="http://localhost:8051/algorithm/HLXFX.do">http://localhost:8051/algorithm/HLXFX.do</a></p>

<blockquote>
<p>request</p>
</blockquote>
<div class="white"><div class="highlight"><pre>
</pre></div></div>
<blockquote>
<p>response</p>
</blockquote>

<p>success</p>
<div class="white"><div class="highlight"><pre>{
"status": 0,
"data":"./cp_out1.txt"
}
</pre></div></div>
<p>fail</p>
<div class="white"><div class="highlight"><pre>{
    "status": 1,
    "msg": "执行出错"
}
</pre></div></div></div><div class='title'>后台_HLXFX数据接口</div><div class='content'><p>1.获取HLXFX因素</p>

<p><a target="_blank" href="http://localhost:8051/data/getHlxfxYS.do">http://localhost:8051/data/getHlxfxYS.do</a></p>

<blockquote>
<p>request</p>
</blockquote>
<div class="white"><div class="highlight"><pre>
</pre></div></div>
<blockquote>
<p>response</p>
</blockquote>

<p>success</p>
<div class="white"><div class="highlight"><pre>{
"status": 0,
"data":[
"yzhcd",
"tryjzhl",
"trsjd",
"zacjdbsd",
"pstj",
"ggbzl",
"dbysltd",
"dxsw",
"dxpd",
"pmgx",
"tmpd",
"bctrzd"
]
}
</pre></div></div>
<p>fail</p>
<div class="white"><div class="highlight"><pre>{
    "status": 1,
    "msg": "获取因素失败"
}
</pre></div></div>
<p>2.监测HLXFX算法是否完成</p>

<p><a target="_blank" href="http://localhost:8051/data/checkHLXFX.do">http://localhost:8051/data/checkHLXFX.do</a></p>

<blockquote>
<p>request</p>
</blockquote>
<div class="white"><div class="highlight"><pre>path 

</pre></div></div>
<blockquote>
<p>response</p>
</blockquote>

<p>success</p>
<div class="white"><div class="highlight"><pre>{
"status": 0,
"data":20
</pre></div></div>
<p>fail</p>
<div class="white"><div class="highlight"><pre>{
    "status": 1,
    "msg": "no"
}
</pre></div></div>
<p>4.获取HLXFX结果</p>

<p><a target="_blank" href="http://localhost:8051/data/getHlxfxTable.do">http://localhost:8051/data/getHlxfxTable.do</a></p>

<blockquote>
<p>request</p>
</blockquote>
<div class="white"><div class="highlight"><pre>YS_name
</pre></div></div>
<blockquote>
<p>response</p>
</blockquote>

<p>success</p>
<div class="white"><div class="highlight"><pre>{
"status": 0,
"data":[
[
"土种名称",
"土种取值"
],
[
"菜田",
"A1,A3,B3,C4"
],
[
"砂页岩赤红壤",
"A1,A3,B3,C3,C4"
]
]
}
</pre></div></div>
<p>fail</p>
<div class="white"><div class="highlight"><pre>{
    "status": 1,
    "msg": "获取表格失败"
}
</pre></div></div></div>
          </div>
        </div>
      </div>
      </div>
  </div>
</body>
</html>